#include "MyFloatTest.h"

MyFloatTest::MyFloatTest()
{
    MyFloat a(0.0);
}

MyFloatTest::~MyFloatTest()
{
    //dtor
}

void MyFloatTest::execute(){
    const int size = 10;
    char testsSucceeded[size];
    for (int i=0;i<size ; i++ )
    {
    	testsSucceeded[i] = 0;
    }
    MyFloat a(0.0);
    MyFloat b(2.1);
    std::cout<<"essai assignment:"<<a.get()<<std::endl;
    a = b;
    std::cout<<"essai division:"<<a.get()<<std::endl;
    a /= b;
    std::cout<<"essai set :"<<a.get()<<std::endl;
    a.set(3.0);
    b =  - a;
    std::cout<<"essai :"<<b.get()<<std::endl;
    if(b<a) std::cout<<"youi"<<std::endl;
}
